package br.com.news.database.services;

import javax.inject.Inject;
import javax.inject.Named;

import br.com.news.database.daos.interfaces.IContatoDao;
import br.com.news.database.entities.ContatoEntity;
import br.com.news.database.utils.GenericService;
import br.com.news.database.utils.interfaces.IGenericDao;
import br.com.news.utils.database.beans.ContatoBean;
import br.com.news.utils.database.interfaces.IContatoService;

@Named
public class ContatoService extends GenericService<ContatoBean, ContatoEntity, Long> implements IContatoService{

	@Inject
	private IContatoDao contatoDao;

	@Override
	protected IGenericDao<ContatoEntity, Long> getConcreteDao() {
		return this.contatoDao;
	}

}
